projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c955bc
)
(Fmove_to_column): Increments for control characters
author
Richard M. Stallman
<rms@gnu.org>
Wed, 24 Nov 1993 23:41:42 +0000
(23:41 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 24 Nov 1993 23:41:42 +0000
(23:41 +0000)
were too low by 1.
src/indent.c
patch
|
blob
|
history
diff --git
a/src/indent.c
b/src/indent.c
index 569057d895a3117346ac84e12a2303042e1e7c7b..96eccc262becdf18e7097b3396f3455b0b5c6fb3 100644
(file)
--- a/
src/indent.c
+++ b/
src/indent.c
@@
-333,9
+333,9
@@
and if COLUMN is in the middle of a tab character, change it to spaces.")
else if (dp != 0 && XTYPE (DISP_CHAR_VECTOR (dp, c)) == Lisp_Vector)
col += XVECTOR (DISP_CHAR_VECTOR (dp, c))->size;
else if (ctl_arrow && (c < 040 || c == 0177))
- col
++
;
+ col
+= 2
;
else if (c < 040 || c >= 0177)
- col +=
3
;
+ col +=
4
;
else
col++;
}